home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
dancing_princess.swf
/
scripts
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-09-26
|
585b
|
31 lines
stop();
Stage.showMenu = false;
sounds = new Array();
sounds = ["so0","so1","so2","so3","so4","so5"];
var i = 0;
while(i < sounds.length)
{
_root[sounds[i]] = new Sound();
_root[sounds[i]].attachSound(sounds[i]);
i++;
}
so0.start(0,9999);
pBar.mode = "polled";
pBar.source = _root;
cl = new Object();
cl.complete = function()
{
loading_flag = true;
};
pBar.addEventListener("complete",cl);
var loading_flag = false;
loading = setInterval(function()
{
if(loading_flag)
{
gotoAndStop(2);
clearInterval(loading);
}
}
,4000);